package org.sgx.joptest.client.rpc;

import org.sgx.joptest.client.model.User;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void greetServer(String input, AsyncCallback<String> callback) throws IllegalArgumentException;

	void addUser(User u, AsyncCallback<Long> callback);
}
